home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / emulator / bsvc-1.000 / bsvc-1 / bsvc-1.0.4 / src / SimHector / loader / Loader.hxx < prev    next >
Text File  |  1995-07-26  |  871b  |  37 lines

  1. /////////////////////////////////////////////////////////////////////////////// //
  2. //
  3. // Loader.hxx
  4. //
  5. //
  6. // By: Bradford W. Mott
  7. // November 5,1993
  8. //
  9. ///////////////////////////////////////////////////////////////////////////////
  10.  
  11. #ifndef LOADER_HXX
  12. #define LOADER_HXX
  13.  
  14. #include <iostream.h>
  15. #include <fstream.h>
  16.  
  17. #include "BasicLoader.hxx"
  18.  
  19. ///////////////////////////////////////////////////////////////////////////////
  20. // The Loader Class
  21. ///////////////////////////////////////////////////////////////////////////////
  22. class Loader : public BasicLoader {
  23.   private:
  24.     // Load in a Hector Object file
  25.     String LoadHectorObjectFile(fstream& file, int space);
  26.  
  27.   public:
  28.     Loader(BasicCPU* c)
  29.         : BasicLoader(c)
  30.     {};
  31.  
  32.     // Load the file into the addr space (Error Message or "" is returned)
  33.     String Load(const char *filename, int space);
  34. };
  35.  
  36. #endif
  37.